Cocoa data serialization benchmark: Archive framework vs custom serialization

TL;DR: Custom serialization proposed here is ~2x faster than Cocoa Archive Framework.
Results are here.


Companion code for this article is on GitHub

Applying the findings of my last benchmark comparing Core Data and File System storage, I went with a similar solution on a recent project where I didn’t need all the firepower in Core Data. The twist this time, however, was that instead of simply storing a key-value pair (NSString, NSDate), I needed to store instances of a class that had multiple fields, indexed by one of its fields — (NSString, SomeClass).

Read more on Cocoa data serialization benchmark: Archive framework vs custom serialization…

hello! i had a quick question. when i went to my tailor for a suit jacket and i paid 90$. is that normal? i asked for waist supression, take up the sleeve length, and tapering of the arms. he said it was high in price because he had to redo the 3 seams (it was a center vent) .. was that a decent price? the suit jacket is fantastic in fit now though.

13 May 2012, baked by Andy Clarke

About a year ago, I left day rates and job rates behind and started estimating, billing and working on projects on a weekly basis. A year on and I’m better organised, more productive and less stressed than ever before. Our accounts are in better shape and no one owes us money for longer than a week. It was one of the best business moves I’ve made.

Read more on 13 May 2012, baked by Andy Clarke…

What Kind of Fear Owns You?

“Fear defeats more people than any other one thing in the world.”
– Ralph Waldo Emerson

I have two experiences that have taught me more about the human condition than all other things in life combined, being a parent and being an integral part of a small company. What I have concluded is that fear is an unavoidable component in most of the decisions we make, whether conscious or not, and that the opposite of fear is not courage, it is love.

Read more on What Kind of Fear Owns You?…

Puny god!

Hulk smash Loki

Thanks IrishTek

Related Posts

  • No related posts

this comic has made me seriously consider the prospect of writing my own dictionary. i may have a problem / several concurrent problems

Top 10 Things Every Presenter Needs To Know: #7 — People Assign Meaning To Your Hand Gestures

Presenter holding hands up in the air

Hands far away from the body mean "big idea" or "I'm chaotic"!

Everyone “talks” with their hands to some extent. Some people’s hand-talking or gesturing matches their message well. Other people have a tendency to make overly large gestures that can be distracting. Others don’t use their hands much at all. No matter which camp you fall into, it’s important to pay attention to your hand gestures while you are presenting, and perhaps try out some new ones. Some hand gestures are universal across all languages, geographies, and cultures:

Read more on Top 10 Things Every Presenter Needs To Know: #7 — People Assign Meaning To Your Hand Gestures…

The Site Named Breedster

People spend too much time trying to be right, not enough time running experiments and exploring ideas

— Jonah Peretti (@peretti) May 8, 2012

Years ago when we were just getting comfortable with the idea of “friending” another person with a computer—that is, storing a value in a database that represents your belief they will also store a value in a database that, when queried, will display for others to see—a strange little site appeared out of nowhere.

Read more on The Site Named Breedster…

Facebook’s COO Works Less Than You

The Fixed Schedule Phenom

Sheryl Sandberg is the COO at Facebook.

Last year she was paid over $30 million dollars in stocks and salary.

This year she was named to Time magazine’s 100 Most Influential People in the World list.

Read more on Facebook’s COO Works Less Than You…

The Art of Haggling

Google Author link