Parwy's Blog

Parwinder Sekhon

21 October 2010

Efficiently sorting an array that is already mostly sorted

I've been investigating how to improve the performance of sorting an array that is already mostly sorted.  Turns out java is replacing the mergesort with timsort in Java 7's Arrays.sort.  You can find the code here.  I'm seeing a factor of 3-4 improvement!
No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest

19 October 2010

Accessing JMX from Nagios

Jmx4Perl – ConSol* Labs
No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest

17 October 2010

BigTable Model with Cassandra and HBase | Javalobby

BigTable Model with Cassandra and HBase | Javalobby gives a good overview and detail on NOSQL/column-orientated dbs.
No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest

01 October 2010

JUnit Kung Fu: Getting More Out of Your Unit Tests

Some nice info in the slides at JUnit Kung Fu: Getting More Out of Your Unit Tests | Java.net
No comments:
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Search This Blog

Popular Posts

  • Discussion on code coverage
  • cvs update all subdirectories
  • Maven import scope to import dependencies
  • The Joel on Software Discussion Group - Why I Hate Frameworks
  • Using Netcat to test ports
  • CMSMaxAbortablePrecleanTime
  • Plex flexes media server pecs • The Register
  • Export your contacts from your Google Apps account automatically as a vcard file
  • JNA tutorial for JNI
  • Apache Archiva Maven Repository Server

Labels

  • business (39)
  • life hacking (149)
  • other (23)
  • sysadmin (71)
  • systems development (498)

Blog Archive

  • ►  2020 (2)
    • ►  October (1)
    • ►  March (1)
  • ►  2019 (4)
    • ►  October (1)
    • ►  August (1)
    • ►  May (1)
    • ►  February (1)
  • ►  2018 (5)
    • ►  December (1)
    • ►  November (1)
    • ►  August (1)
    • ►  January (2)
  • ►  2017 (11)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (3)
    • ►  July (2)
    • ►  June (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2016 (12)
    • ►  October (1)
    • ►  September (1)
    • ►  August (2)
    • ►  July (7)
    • ►  February (1)
  • ►  2015 (20)
    • ►  December (3)
    • ►  November (3)
    • ►  October (4)
    • ►  September (2)
    • ►  August (2)
    • ►  June (1)
    • ►  May (1)
    • ►  March (1)
    • ►  January (3)
  • ►  2014 (8)
    • ►  August (1)
    • ►  July (1)
    • ►  May (4)
    • ►  March (1)
    • ►  January (1)
  • ►  2013 (4)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
  • ►  2012 (63)
    • ►  November (5)
    • ►  August (2)
    • ►  June (14)
    • ►  May (4)
    • ►  April (9)
    • ►  March (17)
    • ►  February (2)
    • ►  January (10)
  • ►  2011 (89)
    • ►  December (1)
    • ►  November (6)
    • ►  October (7)
    • ►  September (15)
    • ►  August (18)
    • ►  July (9)
    • ►  June (1)
    • ►  May (5)
    • ►  April (14)
    • ►  March (5)
    • ►  February (6)
    • ►  January (2)
  • ▼  2010 (152)
    • ►  December (9)
    • ►  November (14)
    • ▼  October (4)
      • Efficiently sorting an array that is already mostl...
      • Accessing JMX from Nagios
      • BigTable Model with Cassandra and HBase | Javalobby
      • JUnit Kung Fu: Getting More Out of Your Unit Tests
    • ►  September (6)
    • ►  August (9)
    • ►  July (9)
    • ►  June (15)
    • ►  May (6)
    • ►  April (24)
    • ►  March (18)
    • ►  February (17)
    • ►  January (21)
  • ►  2009 (183)
    • ►  December (13)
    • ►  November (17)
    • ►  October (17)
    • ►  September (30)
    • ►  August (13)
    • ►  July (11)
    • ►  June (20)
    • ►  May (14)
    • ►  April (7)
    • ►  March (6)
    • ►  February (16)
    • ►  January (19)
  • ►  2008 (99)
    • ►  December (3)
    • ►  November (8)
    • ►  October (15)
    • ►  September (6)
    • ►  August (6)
    • ►  July (14)
    • ►  June (20)
    • ►  May (11)
    • ►  April (5)
    • ►  March (2)
    • ►  February (9)
  • ►  2007 (33)
    • ►  December (1)
    • ►  November (11)
    • ►  October (12)
    • ►  May (3)
    • ►  April (1)
    • ►  February (1)
    • ►  January (4)
  • ►  2006 (46)
    • ►  December (9)
    • ►  October (3)
    • ►  September (4)
    • ►  August (2)
    • ►  July (15)
    • ►  June (4)
    • ►  May (1)
    • ►  April (8)

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Total Pageviews

Links

  • Linkedin
Simple theme. Powered by Blogger.