« Previous | Next » 

Revision a67c1605

Parent aeff4057
Child 3487ebc9

Added by Christian Müller over 7 years ago

[TASK] Improve security performance

This solves two problems. First it eliminates the need to use ``eval``
for AOP runtime expressions by caching the found expressions in a
PhpBackend during compile time and requiring the code as actual
closures during runtime. This also reduces the cache size as the
closure code is no longer included as strings.

Additionally the ``methodPermissions`` data is changed to be static
as it will be the same across all instances of ``MethodPrivilege``
anyway. This drastically reduces memory usage and also runtime due
to less cache requests which are especially costly for a file based

Change-Id: If6ccf8d7bbbe25cfcd6596a88a6192bf051bc9f5
Releases: master, 3.0

  • added
  • modified
  • copied
  • renamed
  • deleted