The Syndk8 - Black Hat SEO Paradise
Fantomaster - Industrial Strength Black Hat SEO Tools
Affiliate Earners: Affiliate Programs
Home
Help
Search
Login
Register
RSS for SEOIdiot
Welcome,
Guest
. Please
login
or
register
.
January 07, 2009, 11:51:00 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home (Index)
Level 2 Cache: Speciality Items
C/++/#, Java, Delphi and other heavies
Woop
Pages: [
1
]
« previous
next »
Print
Author
Topic: Woop (Read 743 times)
m0nkeymafia
Expert
Offline
Posts: 236
Check it!
Woop
«
on:
September 14, 2007, 04:05:46 PM »
Im bored so ill write a little C++ story lol
where I work we write everything in house, as such we have our own XML parser [its well sexy and uses templates to take in data and streams to parse in and out to file or string] we use multimaps for lots of stuff as its easier when indexing via strings etc.
when we create an xml node we clear the multimaps just out of good coding practice. someone else came to use it and thought it was slow [it took 15 seconds to load a 1mb xml file in debug] so we had a poke around and juyst by removing the clears [even though the maps were empty] it sped things up 5x.
the moral of the story is, things like that are good coding style, initalising variables and so forth, but for maps and stl containers you dont need to, and will save a lot of processing power and time if you dont. if you use them heavily it might be worth while experimenting
all our apps are time and memory critical ... you should see what we fit into a 10mb app [seriously itll blow your mind]
Logged
I am Tyler Durden
perkiset
Olde World Hacker
Administrator
Lifer
Online
Posts: 5324
:sniffle: Humor was so much easier before.
Re: Woop
«
Reply #1 on:
September 14, 2007, 04:18:06 PM »
It never stops to amaze me how simple refactoring and analysis of prior code can speed things up...
or that even a one line program eventually gets dusty and breaks.
Logged
If I can't be Mr. Root then I don't want to play.
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Level 1 Cache: General Discussion
-----------------------------
=> Init() - New Member Introductions
=> Callback Routines
=> freemem() & garbage collection
=> All Things General Tech
=> All Things Apple
=> All Things Database
=> All Things *nix
=> All Things Windows
-----------------------------
Level 2 Cache: Speciality Items
-----------------------------
=> AJAX, Specifically: Techniques, Code & Examples
=> ASP & .NET
=> C/++/#, Java, Delphi and other heavies
=> ColdFusion
=> JavaScript Discussion & Help
=> Javascript Code Repository & Examples
=> Music Technology
=> PERL
=> PHP Discussions / Help
=> PHP Code Repository / Examples
=> Python/Lisp/Scheme/Erlang/Obscurities
=> Regex Discussion & Examples
=> SMF Discussion
-----------------------------
phpMyIDE
-----------------------------
=> Announcements & Updates
=> Support Threads
Perkiset's Place Home
Best of The Cache
phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's
Pinkhat's Perspective
cache
mart
coder
programmers
ajax
php
javascript
Loading...