Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
cpg
0003-replace-trie-to-dict-as-default-group_stor...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-replace-trie-to-dict-as-default-group_storage-remove.patch of Package cpg
From 5172d34d802ab6a0bd41a8d906d9616a33734e44 Mon Sep 17 00:00:00 2001 From: Led <ledest@gmail.com> Date: Mon, 29 Oct 2018 13:59:05 +0200 Subject: [PATCH 03/15] replace trie to dict as default group_storage; remove strict trie deps --- rebar.config | 4 +--- src/cpg.app.src | 3 +-- src/cpg_app.erl | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/rebar.config b/rebar.config index fe3de0c..ec1c53d 100644 --- a/rebar.config +++ b/rebar.config @@ -2,9 +2,7 @@ % ex: set ft=erlang fenc=utf-8 sts=4 ts=4 sw=4 et nomod: {deps, - [{trie, ".*", - {git, "https://github.com/okeuday/trie.git", - {tag, "v1.8.0"}}}]}. + []}. {erl_opts, [{platform_define, "^19\.", 'ERLANG_OTP_VERSION_19'}, diff --git a/src/cpg.app.src b/src/cpg.app.src index c736bb0..4fba5dd 100644 --- a/src/cpg.app.src +++ b/src/cpg.app.src @@ -22,14 +22,13 @@ groups_scope2 ]}, {applications, [ - trie, stdlib, kernel ]}, {mod, {cpg_app, []}}, {env, [ {node_type, visible}, % visible | all - {group_storage, trie}, % trie | dict | orddict | ... + {group_storage, dict}, % trie | dict | orddict | ... {scope, [ % automatically created scopes to keep process groups separate % (each becomes a locally registered name) diff --git a/src/cpg_app.erl b/src/cpg_app.erl index 7726843..8b826b2 100644 --- a/src/cpg_app.erl +++ b/src/cpg_app.erl @@ -79,7 +79,7 @@ group_storage() -> {ok, V} when is_atom(V) -> V; undefined -> - trie + dict end. %%%------------------------------------------------------------------------ -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor