Re: Python, passing objects?

That depends on if your passing a reference to an existing class instance, which would have little or no overhead because its no different than passing an array, dictionary, or other variable. If your creating and passing classes every cycle, it depends on the classes size and complexity. Generally its not much of an issue, but thats what benchmarking is for.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : nyanchan via Audiogames-reflector

Reply via email to