Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] FileListBlock remove un-necessary exception throw/catch

> 
> Folks,
> 
>   This is a simple patch that takes a look at the bounds of an array
> and returns the valid, but empty, value instead of explicitly throwing
> an exception, catching it and then returning a valid but empty value.
> This has a minor impact on performance and a huge impact on being 
> able to track down real exception errors since we aren't throwing/catching
> spurious exceptions anymore.
> 
> (I'm on webmail so I've included and attached the patch since I don't
> have a lot of faith in the web =;-)
> 
> ChangeLog
> - Remove assumed throw/catch of an exception to be a regular occurance
>   and replace with explicit test and return for bounds access to the
>   particular array.
> 


Bogdan,
	This is your territory, can you take a quicklook if this
should be apply to head && branch.

Thanks.




Back to the top