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
.
Did you miss your
activation email?
May 24, 2012, 02:26:21 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/++/#/Objective, Java, ObjectPascal
Woop
Pages: [
1
]
« previous
next »
Print
Author
Topic: Woop (Read 1478 times)
m0nkeymafia
Expert
Offline
Posts: 240
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
Offline
Posts: 9896
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
It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Level 1 Cache: General Discussion
-----------------------------
=> Init() - New Member Introductions
=> NEW BOARD: The n00b Zone
=> Callback Routines
=> Recovered Sectors
=> freemem() & Garbage Collection
=> All Things General Tech
=> All Things Android
=> All Things Apple
=> All Things Database
=> All Things Microsoft
=> All Things *nix
-----------------------------
Level 2 Cache: Speciality Items
-----------------------------
=> AJAX
=> ASP & .NET
=> C/++/#/Objective, Java, ObjectPascal
=> CSS, HTML & SEO, Cloaking
=> JavaScript
=> Music Technology
=> PERL
=> PHP
=> Obscurites, Curiosities & Arcanity
=> Regex
-----------------------------
Frameworks, Applications & Projects
-----------------------------
=> phpMyIDE
=> The iPhone SMF Theme Project
=> SMF
-----------------------------
Retired Boards
-----------------------------
=> ColdFusion
=> phpMyIDE
=> SalesForce / Apex
=> Javascript Code Repository & Examples
=> PHP Code Repository / Examples
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...