Top "Comparison" questions

Questions about data comparison and efficient ways to accomplish it.

Check if two arrays have the same contents (in any order)

I'm using Ruby 1.8.6 with Rails 1.2.3, and need to determine whether two arrays have the same elements, regardless of whether or …

ruby arrays comparison
Java library to compare image similarity

I spent quite some time researching for a library that allows me to compare images to one another in Java. …

java image comparison similarity
Why would you use Oracle database?

I'm curious for technical reasons why you choose Oracle database versus the latest flavors of: 1) Microsoft SQL Server 2) MySQL 3) PostgreSQL …

database oracle comparison
Value for epsilon in Python

Is there a standard value for (or method for obtaining) epsilon in Python? I need to compare floating point values …

python comparison floating-point epsilon
Comparing a string with the empty string (Java)

I have a question about comparing a string with the empty string in Java. Is there a difference, if I …

java string comparison string-comparison
How should I do floating point comparison?

I'm currently writing some code where I have something along the lines of: double a = SomeCalculation1(); double b = SomeCalculation2(); if (…

language-agnostic comparison floating-point
Java: Comparing ints and Strings - Performance

I have a String and an int, lets say: String str = "12345"; and int num = 12345;. What is the fastest way of …

java performance comparison parseint
Stored Procedures Vs. Views

I have used both but what I am not clear is when I should prefer one over the other. I …

sql sql-server-2008 stored-procedures comparison views
Anagrams finder in javascript

I am supposed to write a program in JavaScript to find all the anagrams within a series of words provided. …

javascript string function comparison anagram
Openpyxl check for empty cell

openpyxl seems to be a great method for using Python to read Excel files, but I've run into a constant …

python object comparison openpyxl