User forums > General (but related to Code::Blocks)

codeblocks wxWidgets 3.0 on openSuSe 13.2

<< < (3/8) > >>

frithjofh:
what is that ::temp_string variable good for anyway?

to me it seems like a intended optimization for speed, but I don't think it really gives any benefit. on the contrary I think it even slows things down because it looses cache locality this way...

in all the 14 places it shows up, it could be easily and better be substituted for a local string, I think.

oBFusCATed:
The patches are in svn.
Some notes:
1. you've created them in reverse, the plus lines should contain your changes.
2. please if you have more patches post them in this topic.

About the F function, yes it is some awkward one.

frithjofh:
sorry for that reverse...

here comes a patch for the logmanager.h file...

that messy F function

frithjofh:
patch for EnvVars

- only some change of variables

- changed some wxString functions to the STL versions

- replaced some wxString wx1.0 compatibility functions by STL version

- changed the   void EnvVarsDebugLog(wxString msg, ...) similar as in logmanager.h. they were actually quite the same

frithjofh:
patch for smartindent

only a glitch in the c::b project file

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version