valerybokov commented on pull request #107:
URL: https://github.com/apache/pdfbox/pull/107#issuecomment-841352745


   > The repeating creation of the 3 variables within the loop could slow down 
the calculation, but I don't know if this is significant. However, 
srcValue/dstValue could simply be replaced by the origin values 
srcConverted/dstConverted and value could be initialized outside of the loop.
   
   Variable creation will be quick because it is a value type (float). But 
incrementing and loop checking really slows down execution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to