• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
improve spelling

  1. … 5 more files in changeset.
Implement a flush method for ::acs::acs::LockfreeCache and use it to reimplement permission::permission_thread_cache_flush

This fixes ad_proc_permission_grant_and_revoke test case

  1. … 1 more file in changeset.
improve comments

  1. … 1 more file in changeset.
acs::per_request_cache: standardize per-request caching

- added per-request cache verfsy similar to acs::per_thread_cache

- use per-request-cache on several occasions

- bump version number of acs-tcl to 5.10.0d35

  1. … 9 more files in changeset.
use dot instead of colon as separator between package name and cache key to ease readability

  1. … 10 more files in changeset.
acs::per_thread_cache: standardize per-thread caching

- added per-thread cache based on namespaced Tcl variables.

- use per-thread-cache on several occasions

- bump version number of acs-tcl to 5.10.0d34

  1. … 14 more files in changeset.
no need to provide separate hash method, which hinders actually for the hashkey partitioned cache

provide a clearer name for method (flush_pattern_in_all_partitions) and make it protected

new method PartitionedCache->flush_all_pattern to iterate over all partiations to perform a glob-style deletion from the cache

Added HashKeyPartitionedCache:

This is type of cache is like a "KeyPartitionedCache" but works as

well with strings as keys while the "KeyPartitionedCache" requires numeric

keys.

  1. … 2 more files in changeset.
improve comment

use "partition_name" rather than "partions_name" as variable name

CVS: ----------------------------------------------------------------------

reduced locking on parititoned chaches: return always the same Tcl_Obj as cache name rather than creating it always new, which prohibit caching in the Tcl_Obj

fix scope for variable scope

Trim whitespace

add debugging aids

provide both, more legacy and more finegrained functionality for cache management

  1. … 1 more file in changeset.
Improve naming: rename TreePartitionedCahe to KeyPartitionedCache

  1. … 4 more files in changeset.
fix spelling in comments

base xotcl-based site nodes implementation on partitioned caches

reduce dependencies on xotcl-core

    • -0
    • +400
    ./acs-cache-procs.tcl
  1. … 2 more files in changeset.