Fast Bulk Inserts into SQLite
Background Sometimes it’s necessary to get information into a database quickly. SQLite is a light weight database engine that can be easily embedded in applications. This will cover the process of optimizing bulk inserts into an SQLite database. While this article focuses on SQLite some of the techniques shown here will apply to other databases. […]
In: C++ · Tagged with: benchmarks, optimization, sqlite
Sort Optimization
This all started one night when I was in the #JRuby channel on irc.freenode.net. A channel user was complaining about JRuby’s sorting algorithm being slow. I thought to myself, I should be able to speed it up. At the time I was thinking since sorting has been so well researched it’d likely be easy to […]
In: Java, Ruby · Tagged with: benchmarks, jruby, optimization, sorting
Ruby Shootout: Fasta
Lately, I’ve been looking at the shootout Ruby benchmarks. I’d gotten into a habit of checking them every few months, rooting for my favorite languages. Not really understanding why some didn’t have the greatest showing on there. When the people running it upgraded their hardware, it seems as though Ruby fell off the list. While […]
In: Ruby · Tagged with: benchmarks, optimization, shootout