vatine: Generated with some CL code and a hand-designed blackletter font (Default)
vatine ([personal profile] vatine) wrote in [staff profile] denise 2011-03-30 10:31 am (UTC)

Somewhere in my code at home, there is a function of (roughly) 50 lines of code (excluding blank lines) that follows a (roughly) 45-line comment, explaining what it does (not how, that's what the code is there for). It's an implementation of getpwent(3) for a /etc/passwd replacement using a directory structure (linear searches get So Slow when you hit 30k+ users, you know). It's all horrendously stateful and stuff, doing Plain Nasty Things in order to actually work.

Post a comment in response:

If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting