# Private function = some other function?

**URL:** <https://forum.kirupa.com/t/private-function-some-other-function/256808>\
**Category:** Uncategorized\
**Created:** [April 7, 2008, 3:35pm UTC](https://forum.kirupa.com/t/private-function-some-other-function/256808 "2008-04-07T15:35:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superpeppe](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@superpeppe](https://forum.kirupa.com/u/superpeppe)\
**Post date:** [April 7, 2008, 3:35pm UTC](https://forum.kirupa.com/t/private-function-some-other-function/256808/1 "2008-04-07T15:35:46Z")

</div>

Hi

I’m writing a physics system and need fast math access. I have run some speed tests on private functions and public static functions. The result defiantly shows that private is a lot faster, therefore i wanted if you could point at the e.g. Math.sqrt function, from a private function:

```auto
private function fastSqrt = Math.sqrt

```

Is there anyway something like this could be obtained?

Thanks in advance!
