java Programming Glossary: proportional
Perfoming Cartesian product on arrays http://stackoverflow.com/questions/10840430/perfoming-cartesian-product-on-arrays The problem with this approach is that it uses memory proportional to the total number of elements you produce. This can be a really..
8-Puzzle Solution executes infinitely http://stackoverflow.com/questions/13053455/8-puzzle-solution-executes-infinitely and membership test where your linked list requires time proportional to the length of the list which is constantly growing. You are..
How to discover memory usage of my application in Android http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android a low level MemoryInfo structure with all of this data The proportional set size for dalvik. public int dalvikPss The private dirty.. pages used by dalvik. public int dalvikSharedDirty The proportional set size for the native heap. public int nativePss The private.. used by the native heap. public int nativeSharedDirty The proportional set size for everything else. public int otherPss The private..
autoboxing vs manual boxing java http://stackoverflow.com/questions/2307904/autoboxing-vs-manual-boxing-java . Allocation in Java is very fast and the time doing GC is proportional to the number of live short lived objects i.e. not proportional.. to the number of live short lived objects i.e. not proportional to the amount of garbage so GC is also very fast. But depending..
Java floating point high precision library http://stackoverflow.com/questions/277309/java-floating-point-high-precision-library seem to use naive multiplication algorithms that take time proportional to the square of the number of digits but the time of Apfloat..
When to use LinkedList<> over ArrayList<>? http://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist or backwards but finding a position in the list takes time proportional to the size of the list. ArrayList E on the other hand allow..
Performance considerations for keySet() and entrySet() of Map http://stackoverflow.com/questions/3870064/performance-considerations-for-keyset-and-entryset-of-map over the collection views of a LinkedHashMap requires time proportional to the size of the map regardless of its capacity. Iteration.. a HashMap is likely to be more expensive requiring time proportional to its capacity. HashMap.entrySet The source code for this implementation.. first need to get hold of the set of keys. This takes time proportional to the capacity of the map as opposed to size for the LinkedHashMap..
Why is System.out.println so slow? http://stackoverflow.com/questions/4437715/why-is-system-out-println-so-slow temp.txt Reading and writing are similiar and proportional to the size of the file O n the only difference is that the..
How to calculate the number of rows (and columns in each row) a text takes in a JTextArea? http://stackoverflow.com/questions/5979795/how-to-calculate-the-number-of-rows-and-columns-in-each-row-a-text-takes-in-a well for the widest line. This varies by font due to proportional spacing. TextLayout shows even tighter bounds but note the baseline..
Converting longitude/latitude to X/Y coordinate http://stackoverflow.com/questions/5983099/converting-longitude-latitude-to-x-y-coordinate longitude the surface distance of a degree of longitude is proportional to the cosine of the latitutude . However as long as you're..
Automatic generation of Unit test cases for .NET and Java http://stackoverflow.com/questions/689087/automatic-generation-of-unit-test-cases-for-net-and-java code coverage. The number of test cases could be directly proportional to the cyclomatic complexity of the code the higher the nesting..
Comparing a double against zero http://stackoverflow.com/questions/8194917/comparing-a-double-against-zero check is if Math.abs value ERROR a more complex one is proportional to the value if Math.abs value ERROR_FACTOR Math.max Math.abs..
Limit jvm process memory on ubuntu http://stackoverflow.com/questions/9145769/limit-jvm-process-memory-on-ubuntu data structures varies with implementation but many are proportional to the size of the heap. and the JIT compiler uses native memory..
|