CefContextSafetyImplementation Enumeration |
CEF offers two context safety implementations with different performance characteristics.
Namespace:
Internal.Xilium.CefGlue
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public enum CefContextSafetyImplementation
Members
| Member name | Value | Description |
---|
| SafeDefault | 0 |
The default implementation (value of 0) uses a map of hash values and should provide
better performance in situations with a small number contexts.
|
| SafeAlternate | 1 |
The alternate implementation (value of 1) uses a hidden value attached to each context
and should provide better performance in situations with a large number of contexts.
|
| Disabled | -1 |
If you need better performance in the creation of V8 references and you
plan to manually track context lifespan you can disable context safety by
specifying a value of -1.
|
See Also